home *** CD-ROM | disk | FTP | other *** search
-
-
-
- HHHHOOOOTTTTFFFFDDDD((((1111MMMM)))) KKKK----SSSSppppoooooooollll bbbbyyyy XXXXiiiinnnneeeetttt ((((11110000////11114444////99999999 11110000....1111)))) HHHHOOOOTTTTFFFFDDDD((((1111MMMM))))
-
-
-
- NNNNAAAAMMMMEEEE
- hotfd - hot folder daemon
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ////uuuussssrrrr////eeeettttcccc////aaaapppppppplllleeeettttaaaallllkkkk////hhhhoooottttffffdddd [ ----DDDD | ----dddd _d_b_l_e_v ] [ ----cccc _c_o_n_f_i_g_f_i_l_e ]
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The _h_o_t_f_d program monitors any hot folders configured on the
- system. When files appear in the folders, it submits them
- via the local printing system to the appropriate printer.
- One daemon monitors all of the folders on a single machine.
- Hot folders are controled by a configuration file, and are
- usually created with the Xinet GUI. _H_o_t_f_d runs as a daemon
- in the background unless one of the debug options is given.
-
- The configuration file consists of a series of text lines
- specifying the directory to watch, the printer to pass the
- files to, and some options. The format of each line is:
- _d_i_r_p_a_t_h:_p_r_i_n_t_q_u_e_u_e:_o_p_t_i_o_n_s
- where _d_i_r_p_a_t_h is the full local pathname to the directory,
- _p_r_i_n_t_q_u_e_u_e is the name of the printer queue to which files
- will be submitted, and _o_p_t_i_o_n_s is a colon-separated set of
- key/value pairs (a la _p_r_i_n_t_c_a_p(5)). Supported keys are as
- follows:
-
- Key Type What it controls
- as boolean if OPI-replacment happens, use ASCII picture format
- dt integer number of seconds to wait for files to stop being
- modified before submitting them to the print queue
- ex string command to use to process the files (see below)
- ix string command to use to process standard input (see below)
- jp integer send pictures JPEG compressed. The value is a quality
- factor (1->99). Setting this overrides the _a_s key.
- kt boolean retain PC-style TIFF preview if EPS file has one
- rp string 0000 means don't replace, ffffuuuullllllll (the default) means
- replace at original resolution, else this is the
- (floating point) DPI at which to replace pictures
- If there are no hot folders configured, _h_o_t_f_d will exit.
- The GUI will start it if it creates any hot folders. _H_o_t_f_d
- only reads its configuration file at startup and when it
- recieves a HHHHUUUUPPPP signal.
-
- CCCCUUUUSSSSTTTTOOOOMMMM PPPPRRRROOOOCCCCEEEESSSSSSSSIIIINNNNGGGG
- If you do not want to pass the files from the hot folder to
- the default printing system, you may specify two custom
- processing commands instead. _H_o_t_f_d always passes EPS and
- PostScript files through a pipe to Standard Input, and
- handles all other files by giving the processing command the
- full pathname to the file. So you must include both an eeeexxxx
-
-
-
- Page 1 (printed 1/20/100)
-
-
-
-
-
-
- HHHHOOOOTTTTFFFFDDDD((((1111MMMM)))) KKKK----SSSSppppoooooooollll bbbbyyyy XXXXiiiinnnneeeetttt ((((11110000////11114444////99999999 11110000....1111)))) HHHHOOOOTTTTFFFFDDDD((((1111MMMM))))
-
-
-
- and iiiixxxx command string so that all files can be processed
- correctly. When using these commands, the _p_r_i_n_t_q_u_e_u_e field
- is ignored, but must contain at least one character. Keep
- in mind that OPI-replacement is nnnnooootttt performed by the _h_o_t_f_d
- program. It simply primes PostScript files with the
- selected replacement options.
-
- These command strings are parsed much like shell commands.
- Specifically, the quoting characters ", ' and \ are
- interpreted as they would be by the command shell. After
- parsing, the string ``$f$'' is replaced by the full pathname
- to the file being processed (and ``$F$'' is replaced by the
- last component of the filename).
-
- An example: if you wanted to use the LPR printing system on
- IRIX instead of the default LP, you could create an entry
- like the following (note that all this text must be on one
- line in the hhhhoooottttffffoooollllddddeeeerrrrccccoooonnnnffff file, and the line length is
- limited to 2048 bytes):
- /bigdisk/submission:*:rp=150:ex=lpr -Pmyprinter $f$:
- ix=lpr -P myprinter -J "bigdisk $F$":dt#20
- This entry would cause /bigdisk/submission to be watched
- and, if a file there has been untouched for at least 20
- seconds, it would be handed to the LPR queue mmmmyyyypppprrrriiiinnnntttteeeerrrr with
- OPI-replacement set to 150 DPI. EPS/PostScript jobs would
- have their Job Name set to ``bigdisk _f_i_l_e_n_a_m_e''.
-
- FFFFIIIILLLLEEEESSSS
- /var/adm/appletalk/hotfolderconf
- Unless overridden by the ----cccc option, this file contains
- the configuration of the hot folders.
-
- /var/adm/appletalk/hotfd_pid
- Place where _h_o_t_f_d writes its PID, so it can be HHHHUUUUPPPPped.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 2 (printed 1/20/100)
-
-
-
-